package com.cakemallproject.pojo.mapperObj;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderItem {
    private Integer oiid;
    private Integer oid;
    private Integer gid;
    private BigDecimal price;
    private Integer num;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer status;

    @Override
    public String toString() {
        return "OrderItem{" +
                "oiid=" + oiid +
                ", oid=" + oid +
                ", gid=" + gid +
                ", price=" + price +
                ", num=" + num +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", status=" + status +
                '}';
    }
}
